home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / dfm2txt / read.me < prev    next >
Encoding:
Text File  |  1995-12-22  |  2.0 KB  |  66 lines

  1. Delphi Form to Text file converter.
  2. ----------------------------------
  3.  
  4. What is it?
  5. -----------
  6.  
  7. This is a program to convert DFM files (Delphi form files) to their
  8. textual representation and back again.
  9.  
  10. How does it work?
  11. -----------------
  12.  
  13. Take a look at the conversion function. Its _really_ easy.
  14.  
  15. Why do I need this program?
  16. ---------------------------
  17.  
  18. Recently, I took the decision to write a new component called MButton
  19. that allowed the caption and hint of a button to be loaded from a resource
  20. only DLL (to provide multi-lingual support). It was a major job to go
  21. into each form, using Delphi, and convert them all.
  22.  
  23. I ended up going into each form, saving it as text, using FileFind to
  24. do search and replace and then converting back to a form.
  25.  
  26. This still took a LONG time.
  27.  
  28. With this program the whole job could be done in about 5 minutes.
  29.  
  30. How this came about
  31. -------------------
  32.  
  33. While searching through some old CIS messages I came across a message in
  34. which someone described how to convert a DFM file to a TXT file. I
  35. tried it and it worked!
  36.  
  37. I've added a front-end to make it easier to convert multiple files and
  38. allow file selections.
  39.  
  40. If you're the person who posted the original message. Thanks.
  41.  
  42. What do I want from you?
  43. -----------------------
  44.  
  45. This program is free. Just send me an e-mail message if you like it,
  46. have any suggestions for improvements etc.
  47.  
  48. I've taken a lot out of CIS over the last 18 months, this is my chance
  49. to give something back.
  50.  
  51. The usual warnings
  52. ------------------
  53.  
  54. THIS PROGRAM IS PROVIDED AT YOUR OWN RISK.
  55.  
  56. You MUST make sure that you have backed up all your forms before
  57. converting them. This is common sense. The author cannot, and will not, be
  58. held responsible in anyway for any problems caused by use or misuse of
  59. this program.
  60.  
  61. Having said all that: the program uses exactly the same routines as the
  62. Delphi IDE for conversions. It SHOULD be safe!
  63.  
  64. John Wright (CIS 100335,322)
  65. 1 September 1995
  66.